package chap3_14;

/**
 * @author https://gitee.com/W_Jun
 * @date 2021-12-15 17:02
 * @Description 学生类
 */
public class Student {
    private String sid;
    private String name;
    private int age;
    private String address;

    public Student(){}

    public Student(String sid, String name, int age, String address) {
        this.sid = sid;
        this.name = name;
        this.age = age;
        this.address = address;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSid() {
        return sid;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getAddress() {
        return address;
    }
}
